package stephen.com.model;

import stephen.com.annotation.MyField;
import stephen.com.annotation.Table;

/**
 * user
 *
 * @author Stephen 2020-01-15
 */
@Table("user")
public class User {

	/**
	 * id
	 */
	private Integer id;

	/**
	 * 用户名
	 */
	private String username;

	/**
	 * 密码
	 */
	private String password;

	/**
	 * 0：公开(默认值)
	 */
	@MyField("is_Secret")
	private String isSecret;

	/**
	 * 邮箱
	 */
	private String email;

	/**
	 * 部门id
	 */
	@MyField("dept_Id")
	private Integer deptId;

	public User() {
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getIsSecret() {
		return isSecret;
	}

	public void setIsSecret(String isSecret) {
		this.isSecret = isSecret;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getDeptId() {
		return deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}
}
